// Code generated by the FlatBuffers compiler. DO NOT EDIT.

package lextwt

import (
	flatbuffers "github.com/google/flatbuffers/go"
)

type LineSeparator struct {
	_tab flatbuffers.Table
}

func GetRootAsLineSeparator(buf []byte, offset flatbuffers.UOffsetT) *LineSeparator {
	n := flatbuffers.GetUOffsetT(buf[offset:])
	x := &LineSeparator{}
	x.Init(buf, n+offset)
	return x
}

func FinishLineSeparatorBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT) {
	builder.Finish(offset)
}

func GetSizePrefixedRootAsLineSeparator(buf []byte, offset flatbuffers.UOffsetT) *LineSeparator {
	n := flatbuffers.GetUOffsetT(buf[offset+flatbuffers.SizeUint32:])
	x := &LineSeparator{}
	x.Init(buf, n+offset+flatbuffers.SizeUint32)
	return x
}

func FinishSizePrefixedLineSeparatorBuffer(builder *flatbuffers.Builder, offset flatbuffers.UOffsetT) {
	builder.FinishSizePrefixed(offset)
}

func (rcv *LineSeparator) Init(buf []byte, i flatbuffers.UOffsetT) {
	rcv._tab.Bytes = buf
	rcv._tab.Pos = i
}

func (rcv *LineSeparator) Table() flatbuffers.Table {
	return rcv._tab
}

func LineSeparatorStart(builder *flatbuffers.Builder) {
	builder.StartObject(0)
}
func LineSeparatorEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT {
	return builder.EndObject()
}
