Code encodes and writes a Code value into the element bitstream.
(c Code)
| 309 | |
| 310 | // Code encodes and writes a Code value into the element bitstream. |
| 311 | func (w *Encoder) Code(c Code) { |
| 312 | w.Sync(c.Marker()) |
| 313 | w.Len(c.Value()) |
| 314 | } |
| 315 | |
| 316 | // String encodes and writes a string value into the element |
| 317 | // bitstream. |