func (bs *ByteSliceCodecOptions) SetEncodeNilAsEmpty(b bool) *ByteSliceCodecOptions {
	bs.EncodeNilAsEmpty = &b
	return bs
}
SetEncodeNilAsEmpty specifies  if a nil byte slice should encode as an empty binary instead of null. Defaults to false.
package bsonoptions
type ByteSliceCodecOptions struct {
	EncodeNilAsEmpty *bool  
}
func ByteSliceCodec() *ByteSliceCodecOptions {
	return &ByteSliceCodecOptions{}
}