aboutsummaryrefslogtreecommitdiff
path: root/binary/any
diff options
context:
space:
mode:
authorIan Cottrell <iancottrell@google.com>2015-07-14 10:34:08 +0100
committerIan Cottrell <iancottrell@google.com>2015-07-14 10:34:08 +0100
commit7794479c314e3c31c42955ec5393dda8fa50f5da (patch)
treefadd909a889cce5b583b925b397c64deccd8d731 /binary/any
parente6484d6389ca36cebf320c232f5ab85ce2e968ed (diff)
downloadgpu-7794479c314e3c31c42955ec5393dda8fa50f5da.tar.gz
Remove md files from the repository
Change-Id: Iab9ca6b490011fafce6860cb60f825b9f4603e26
Diffstat (limited to 'binary/any')
-rw-r--r--binary/any/README.md115
1 files changed, 0 insertions, 115 deletions
diff --git a/binary/any/README.md b/binary/any/README.md
deleted file mode 100644
index 5639d5ec7..000000000
--- a/binary/any/README.md
+++ /dev/null
@@ -1,115 +0,0 @@
-# any
---
- import "android.googlesource.com/platform/tools/gpu/binary/any"
-
-Package any contains Object wrappers for Plain-Old-Data types.
-
-## Usage
-
-```go
-var Namespace = registry.NewNamespace()
-```
-
-#### func Box
-
-```go
-func Box(v interface{}) (binary.Object, error)
-```
-Box returns v wrapped by a struct implementing binary.Object. If v is not
-boxable then ErrUnboxable is returned.
-
-#### func Unbox
-
-```go
-func Unbox(o binary.Object) (interface{}, error)
-```
-Unbox returns the value in o wrapped by a call to Box. If o is not a boxed value
-ErrNotBoxedValue is returned.
-
-#### type Any
-
-```go
-type Any struct {
- binary.Generate
-}
-```
-
-Any is the schema Type descriptor for a field who's underlying type requires
-boxing and unboxing. The type is usually declared as an empty interface.
-
-#### func (*Any) Basename
-
-```go
-func (i *Any) Basename() string
-```
-
-#### func (*Any) Class
-
-```go
-func (*Any) Class() binary.Class
-```
-
-#### func (*Any) Decode
-
-```go
-func (i *Any) Decode(d binary.Decoder) (interface{}, error)
-```
-
-#### func (*Any) Encode
-
-```go
-func (i *Any) Encode(e binary.Encoder, value interface{}) error
-```
-
-#### func (*Any) Skip
-
-```go
-func (i *Any) Skip(d binary.Decoder) error
-```
-
-#### func (*Any) String
-
-```go
-func (i *Any) String() string
-```
-
-#### func (*Any) Typename
-
-```go
-func (i *Any) Typename() string
-```
-
-#### type ErrNotBoxedValue
-
-```go
-type ErrNotBoxedValue struct {
- Object binary.Object // The object that is not a boxed value.
-}
-```
-
-ErrNotBoxedValue is returned when an Object is passed to Unbox that was not
-previously returned by a call to Box.
-
-#### func (ErrNotBoxedValue) Error
-
-```go
-func (e ErrNotBoxedValue) Error() string
-```
-Error returns the error message.
-
-#### type ErrUnboxable
-
-```go
-type ErrUnboxable struct {
- Value interface{} // The value that could not be encoded.
-}
-```
-
-ErrUnboxable is returned when a non-boxable value type is passed to Box.
-
-#### func (ErrUnboxable) Error
-
-```go
-func (e ErrUnboxable) Error() string
-```
-Error returns the error message.